package com.hdax.dm.rest;

import com.hdax.dm.beans.user.LinkUser;
import com.hdax.dm.common.api.userControllerApi;
import com.hdax.dm.service.LinkuserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class userRestService implements userControllerApi {

    @Autowired
    private LinkuserService linkuserService;

    @Override
    public LinkUser user(Long userid) {
        return linkuserService.islinkUser(userid);
    }
}
